home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
maximus
/
stbar20.zip
/
CONTENT.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-04-09
|
1KB
|
59 lines
@echo off
rem ==--=StarBar archive extractor batch file=--==
rem OS/2 CMD
rem
rem ========================================================================
rem
rem first parameter : Path to node-specific temp dir
rem second parameter : Path and File to be examined
rem
rem ========================================================================
rem
rem NOTE: This CMD file is simply a copy of the DOS BAT file! If you have
rem native OS/2 archivers, you will have to substitute their names
rem below.
rem Please let me know via NETMAIL how this works as it is untested!
cd %1
if exist %1\*.arj goto ARJ
if exist %1\*.zip goto ZIP
if exist %1\*.lzh goto LHA
if exist %1\*.rar goto UNRAR
if exist %1\*.arc goto PKUNPAK
if exist %1\*.zoo goto ZOO
if exist %1\*.pak goto PAK
rem Add any other archivers you wish to support here, then follow the
rem examples below on extracting the info...
:ARJ
arj e -y %2 *.*
goto end
:ZIP
pkunzip -o %2 *.*
goto end
:LHA
lha e /m+c+ %2 *.*
goto end
:UNRAR
unrar e -o+ %2 *.*
goto end
:PKUNPAK
pkunpak -r %2 *.*
goto end
:ZOO
zoo.exe e %2 *.*
goto end
:PAK
pak e/WA %2 *.*
goto end
:end